Crate command_group
source ·Expand description
An extension to std::process::Command
to support process groups on Unix and Windows.
With Tokio, the AsyncCommandGroup
trait extends tokio::process::Command
.
On Unix, the UnixChildExt
trait additionally provides support for sending signals to processes and process groups (it’s implemented on this crate’s GroupChild
,
AsyncGroupChild
, Tokio’s Child
and std’s Child
).
Re-exports
pub use nix::sys::signal::Signal;
pub use crate::stdlib::CommandGroup;
pub use crate::tokio::AsyncCommandGroup;
Modules
- Implementation of process group extensions for the standard library’s
Command
type. - Implementation of process group extensions for Tokio’s asynchronous
Command
type.
Structs
- Representation of a running or exited child process group (Tokio variant).
- Representation of a running or exited child process group.
Traits
- Unix-specific extensions to process
Child
ren.